﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8" />
    <title>Nickron - @ViewBag.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/AdminLTE")
    @Styles.Render("~/Content/jqWidget")
    @Styles.Render("~/Content/themes/base/css")

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryui")
    @Scripts.Render("~/bundles/bootstrap")
    @Scripts.Render("~/bundles/page")
    @Scripts.Render("~/bundles/jgWidget")
    @Scripts.Render("~/bundles/AdminLTEApp")
</head>
<body>
@using (Html.BeginForm("Login", "Users", FormMethod.Post, new { onsubmit = "return ValidateForm();" }))
{
    <div class="container">

        <div class="page-header">
            <h1><img src='@Url.Content("~/Images/logo.png")' /></h1>
        </div>

        <div class="box box-primary">
            
            <div class="box-body">
            <!-- LoginID -->
            <div class="form-group">
                <label> Login-ID:</label>
                <div class="input-group">
                    <div class="input-group-addon">
                        <i class=""></i>
                    </div>
                    <input id="Login" name="Login" type="text" maxlength="30" class="form-control pull-right" />
                </div><!-- /.input group -->
            </div><!-- /.form group -->
            <!-- Password -->
            <div class="form-group">
                <label> Password:</label>
                <div class="input-group">
                    <div class="input-group-addon">
                        <i class=""></i>
                    </div>
                    <input id="Password" name="Password" type="password" maxlength="30" class="form-control pull-right" />
                </div><!-- /.input group -->
            </div><!-- /.form group -->
            <div class="form-group">
                <button type="submit" class="btn btn-primary" style=" width:80px;">Login</button>
            </div>
        </div>
        </div>
</div>
}          
<script>
    function ValidateForm() {
        RequiredTextbox("Name", "Enter the Login-ID");
        RequiredTextbox("Password", "Enter the Password");
        return AlertError();
    }
</script>
</body>
</html>
